/**
 * Created by dukes on 2015/12/23.
 */
//module game{
    class RechargeActivityConfig {
        public award_catHair:number;
        public award_diamond:number;
        public award_dogHair:number;
        public award_props:any[];
        public diamond:number;
        public type:number;
        public constructor(data:any=null){
            //super();
            if( data )
                this.initFromData(data);
        }

        public initFromData(data:any){
            this.diamond = data.diamond;
            this.type = data.type;
            if( data.award){
                this.award_catHair = data.award.catHair;
                this.award_diamond = data.award.diamond;
                this.award_dogHair = data.award.dogHair;
                this.award_props = data.award.props;
            }
        }
    }
//}